package cn.lsj.payment.config;

import feign.Logger;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

/**
 * @className: FeignConfiguration
 * @author: liangshijie
 * @date: 2023/5/7
 **/
@Configuration
public class FeignConfiguration {
    @Bean
    public Logger.Level feignLoggerLevel() {
        return Logger.Level.FULL;//记录所有请求和响应的明细，包括头信息，请求体，元数据
    }
}
